package com.eva.learn.other;

import com.alibaba.*;
import com.alibaba.fastjson.JSON;

/**
 * Created by evain on 15/11/24.
 */
public class JsonTest {
	public static class Test1{
		private String s1;

		public String getS1() {
			return s1;
		}

		public void setS1(String s1) {
			this.s1 = s1;
		}
	}

	public static void main(String[] args) {
		Test1 test1 = new JsonTest.Test1();
		test1.setS1("aaaa");
		JSON.toJSONString(test1);

	}
}
